using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPR.Poker.Model.SYS
{
    /// <summary>
    /// Trần Hòa Nghĩa
    /// 27/11/2013
    /// Danh sách lỗi
    /// </summary>
    public class SYS_Error
    {
      
        #region Member
        private Int64 m_IDSys = 0;
        private string m_ErrorName = string.Empty;
        private string m_Description = string.Empty;
        private DateTime? m_ErrorDate;
        private int m_UserIDSys = 0;
        private string m_Type = string.Empty;
        private string m_ModuleName = string.Empty;
        #endregion
        #region Properties
        /// <summary>
        /// IDSys
        /// 
        /// </summary>
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Int64 IDSys
        {
            get { return m_IDSys; }
            set { m_IDSys = value; }
        }
        /// <summary>
        /// ErrorName
        /// Tên lỗi
        /// </summary>
        public string ErrorName
        {
            get { return m_ErrorName; }
            set { m_ErrorName = value; }
        }
        /// <summary>
        /// Description
        /// Mô tả
        /// </summary>
        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        /// <summary>
        /// ErrorDate
        /// Ngày phát sinh lỗi
        /// </summary>
        public DateTime? ErrorDate
        {
            get { return m_ErrorDate; }
            set { m_ErrorDate = value; }
        }
        /// <summary>
        /// UID
        /// Nhân viên
        /// </summary>
        public int UserIDSys
        {
            get { return m_UserIDSys; }
            set { m_UserIDSys = value; }
        }
        /// <summary>
        /// Type
        /// Loại
        /// </summary>
        public string Type
        {
            get { return m_Type; }
            set { m_Type = value; }
        }
        /// <summary>
        /// ModuleName
        /// Module
        /// </summary>
        public string ModuleName
        {
            get { return m_ModuleName; }
            set { m_ModuleName = value; }
        }


        #endregion
        #region Constructor
        public SYS_Error()
        {
        }
        #endregion
        #region Column Names
        public const String colIDSys = "IDSys";
        public const String colErrorName = "ErrorName";
        public const String colDescription = "Description";
        public const String colErrorDate = "ErrorDate";
        public const String colUserIDSys = "UserIDSys";
        public const String colType = "Type";
        public const String colModuleName = "ModuleName";
        #endregion
    }
}
